package com.dfrobot.demo.domain.entity;

import javax.persistence.*;
import lombok.Data;

@Data
@Table(name = "order_option")
public class OrderOption {
    @Id
    @Column(name = "order_option_id")
    private Integer orderOptionId;

    @Column(name = "order_id")
    private Integer orderId;

    @Column(name = "order_product_id")
    private Integer orderProductId;

    @Column(name = "product_option_id")
    private Integer productOptionId;

    @Column(name = "product_option_value_id")
    private Integer productOptionValueId;

    private String name;

    private String type;

    private String value;
}